package com.ctshk.common.enums;

public enum  SortType {

    SALE(1, "销量"),
    PRICE(2, "价格");

    private Integer code;
    private String name;

    SortType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
